package org.fyp.synchrona.twitter.service.util;

import java.util.List;

import org.fyp.synchrona.core.info.impl.ICommonDataObject;
import org.fyp.synchrona.util.IAccount;
import org.fyp.synchrona.util.IUpdate;

public class Update implements IUpdate {
	
	private ICommonDataObject cdo;
	
	private String serviceType;
	
	private String updateType;
	
	private List<IAccount> accounts;
	


	public void setCdo(ICommonDataObject cdo) {
		this.cdo = cdo;
	}

	public ICommonDataObject getCdo() {
		return cdo;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setUpdateType(String updateType) {
		this.updateType = updateType;
	}

	public String getUpdateType() {
		return updateType;
	}

	@Override
	public List<IAccount> getAccount() {
		// TODO Auto-generated method stub
		return accounts;
	}

	@Override
	public void setAccount(List<IAccount> account) {
		this.accounts = account;
		
	}

}
